<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
    <meta name="keywords" content="{$SEO['keyword']}">
    <meta name="description" content="{$SEO['description']}">
    <link rel="stylesheet" href="css/public.css" />
    <link rel="stylesheet" href="css/pubuliu.css" />
    <script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="js/jquery.lazyload.min.js"></script>
    <script type="text/javascript" src="js/blocksit.min.js"></script>
    <script type="text/javascript">
        $(function(){
            navimg = $(".nav").find("img");
            navimg.each(function(i){
                navimg.eq(i).hover(function() {
                    navimg.eq(i).addClass('opacity');
                }, function() {
                    navimg.eq(i).removeClass('opacity');
                });
            });
        });
    </script>
</head>
<body>
	<div class="header clearfix">
		<a href="#" class="logo"><img src="images/logo.jpg" alt=""  /></a>
		<div class="headright">
        <script type="text/javascript">document.write('<iframe src="{APP_PATH}index.php?m=member&c=index&a=mini&forward='+encodeURIComponent(location.href)+'&siteid={get_siteid()}" allowTransparency="true"  width="248" height="16" frameborder="0" scrolling="no" style="float:right;margin:10px 0px 50px 0px"></iframe>')</script>
			<div class="searchbox">
                <form action="/index.php" method="get">
                    <input type="hidden" name="m" value="search"/>
                    <input type="hidden" name="c" value="index"/>
                    <input type="hidden" name="a" value="search"/>
                    <select name="typeid" id="typeid">
                        <option value="1" {if $typeid==1}selected="selected"{/if}>图片</option>
                        <option value="2" {if $typeid==2}selected="selected"{/if}>图书</option>
                        <option value="3" {if $typeid==3}selected="selected"{/if}>科学</option>
                        <option value="4" {if $typeid==4}selected="selected"{/if}>产品</option>
                    </select>
                    <input type="text" class="searchtxt" name="q" value="{$_GET['q']}" /><input type="submit" class="searchbtn" value="" />
				</form>
			</div>
		</div>
		<div class="nav">
		{pc:content action="category" catid="0" num="6" siteid="$siteid" order="listorder ASC"}
			{php $i=2}
			<ul>
			<li><a href="{siteurl($siteid)}" class="nav_1"><img src="images/nav_01.png" alt="" /></a></li>
			{loop $data $r}
			<li {if $i==6}class='bd_166'{/if}><a href="{$r[url]}" class="nav_{$i}"><img src="{SKIN_PATH}images/nav_0{$i}.png" alt="" /></a></li>
			{php $i++}
			{/loop}
			</ul>
        {/pc}
		</div>
	</div>